﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Index.aspx.cs" Inherits="WebMvc.App.Views.News.IndexController.Index" %>
<!doctype html>
<html>
<head>
    <script src="<%=app %>Content/js/jquery-1.11.2.min.js">
    </script>
    <link href="<%=app %>Content/css/frame.css" type="text/css" rel="stylesheet" />
</head>
<body>
    <%@ Reference Page="~/App/Views/Default/Public/Header.aspx" %>
    <article>
        News Template
        <table><tr><td><%=text%></td></tr></table>
        <table>
            <tr>
                <td>
                    id
                </td>
                <td>
                    name_cn
                </td>
            </tr>
            <%foreach(var u in users){ %>
            <tr>
                <td><%=u.id %></td>
                <td><%=u.name_cn %></td>
            </tr>
            <%} %>
        </table>
        <p>
            <span><%=cup.id %></span>
            <span><%=cup.name_cn %></span>
            <span><%=cup.name_en %></span>
        </p>
    </article>
    
    <%@ Reference Page="~/App/Views/Default/Public/Footer.aspx" %>
</body>
</html>